package com.yunupmall.service.ford.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunupmall.api.fordentity.Shoping;
import com.yunupmall.api.po.ShopingUpDataPo;
import com.yunupmall.api.po.SteamShopingDataPO;
import com.yunupmall.entity.ford.FordShopingMupData;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ShopingService extends IService<Shoping> {
    Integer insertShoppingData(Integer id, Integer counts, Integer m_id);

    //查询购物车信息
    List<FordShopingMupData> queryshopData(Integer m_id);

    //删除购物车数据
    String deleteshopingID(Integer id);

    /**
     * 组合购物车信息生成订单
     */
    List<SteamShopingDataPO> combinationShopingData(List<ShopingUpDataPo> dataPoList);
}
